package com.sofly.entity;

import java.io.Serializable;

public class Bom implements Serializable{
	
	private static final long serialVersionUID = -1988345135259057820L;
	
	private int id;
	private String stocknumber;
	private String stockstandard;
	private String stockname;
	private int sum;
	private String unit;
	private String parentcomponent;
	private String purpose;
	private String flag;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getStocknumber() {
		return stocknumber;
	}
	public void setStocknumber(String stocknumber) {
		this.stocknumber = stocknumber;
	}
	public String getStockstandard() {
		return stockstandard;
	}
	public void setStockstandard(String stockstandard) {
		this.stockstandard = stockstandard;
	}
	public String getStockname() {
		return stockname;
	}
	public void setStockname(String stockname) {
		this.stockname = stockname;
	}
	public int getSum() {
		return sum;
	}
	public void setSum(int sum) {
		this.sum = sum;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getParentcomponent() {
		return parentcomponent;
	}
	public void setParentcomponent(String parentcomponent) {
		this.parentcomponent = parentcomponent;
	}
	public String getPurpose() {
		return purpose;
	}
	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}
	public String getFlag() {
		return flag;
	}
	public void setFlag(String flag) {
		this.flag = flag;
	}
	@Override
	public String toString() {
		return "Bom [id=" + id + ", stocknumber=" + stocknumber + ", stockstandard=" + stockstandard + ", stockname="
				+ stockname + ", sum=" + sum + ", unit=" + unit + ", parentcomponent=" + parentcomponent + ", purpose="
				+ purpose + ", flag=" + flag + "]";
	}
	public Bom(int id, String stocknumber, String stockstandard, String stockname, int sum, String unit,
			String parentcomponent, String purpose, String flag) {
		super();
		this.id = id;
		this.stocknumber = stocknumber;
		this.stockstandard = stockstandard;
		this.stockname = stockname;
		this.sum = sum;
		this.unit = unit;
		this.parentcomponent = parentcomponent;
		this.purpose = purpose;
		this.flag = flag;
	}
	public Bom() {
		super();
	}
	
	

}
